#include "LeafNode.h"


//LeafNode::LeafNode(int w)
//{
//}
//
//LeafNode::LeafNode(int weight, int order, int value)
//{
//	this->weight = weight;	
//	this->value = value;
//	// TOOD should the leaf have also an order?
//}

LeafNode::~LeafNode(void)
{
	// empty destructor
}

Node* LeafNode::getLeft() {
	// returns null to indicate that the node is a leaf
	return 0;
}

Node* LeafNode::getRight() {
	// returns null to indicate that the node is a leaf
	return 0;
}

bool LeafNode::isLeaf() {
	return true;
}
